package com.fjh.security.easy.starter.authentication.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author fanjh37
 * @since 2023/2/12 18:15
 */
public interface EasyAuthLogoutSuccessService {

    /**
     * 推出登录回调接口
     *
     * @param httpServletRequest
     * @param httpServletResponse
     * @param authentication
     */
    void onLogoutSuccess(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Authentication authentication);
}
